#ifndef CUSTOM_QDIALOG_H
#define CUSTOM_QDIALOG_H

#include <QDialog>
#include <QLabel>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QPushButton>
#include <QRadioButton>

class CustomDialog : public QDialog {

    Q_OBJECT

public:
    explicit CustomDialog();
    ~CustomDialog();

    QRadioButton *isOSSSelected;
    QRadioButton *isQiNiuSelected;

private:
    QPushButton *acceptButton;
    QGridLayout *selectLayout;
    QHBoxLayout *buttonLayout;
    QVBoxLayout *layout;

    void CreateMainWindow();
    void SetWidgets();

public slots:
    virtual void accept();
};

#endif // CUSTOM_QDIALOG_H
